_Batch Run Shortcuts (Discrete)
(13 actions, 14 KB)
0 Split Text
[Shortcut Input]
by
Custom
γΒ»
1
3
5
7
TextCustomSeparator
:
$$$
1 Count Items in
[0 Split Text]
γΒ»
2
7
2 If
[1 Count]
>
1
3 Get
Last Item
from List
[0 Split Text]
γβ lastFolderShortcut
γΒ»
4 URL
Decode
[3 lastFolderShortcut]
γβ lastFolderShortcut
γΒ»
11
5 Get
First Item
from List
[0 Split Text]
γβ nextShortcut
γΒ»
6 URL
Decode
[5 nextShortcut]
γβ nextShortcut
γΒ»
9
11
7 Get
Items in Range
2
to
[1 Count]
from List
[0 Split Text]
γβ remainingShortcuts
γΒ»
ItemIndex
:
2
8 Combine Text
[7 remainingShortcuts]
with
Custom
γβ remainingShortcuts
γΒ»
TextCustomSeparator
:
$$$
9 DictionaryγΒ»
{ "shortcutName": "
[6 nextShortcut]
", "shortcutInput": "
[8 remainingShortcuts]
" }
10 Run Shortcut
Build Run Shortcut URL
γΒ»
Input
:
[9 Dictionary]
Workflow
:
{ "workflowIdentifier": "A4D0829E-EC6C-4E7E-8088-6EBD82EA8061", "workflowName": "Build Run Shortcut URL", "isSelf": false }
11 ToolboxProForShortcuts > ShowNotificationIntent
subtitle
:
ΰΌΊββββββββββΰΌ»
onTap
:
[10 Shortcut Result]
threadID
:
title
:
[4 lastFolderShortcut]
body
:
π
[6 nextShortcut]
notificationID
:
[6 nextShortcut]
12 End Ifγβ΅
2